﻿<!DOCTYPE html>
<!-- 员工信息列表页面 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>服务区-管理系统</title>
<link rel="stylesheet" type="text/css" href="/IMS/css/DefaultSkin.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/load.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/control.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/list.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/anim.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/page.css?v=1.0" /><!-- 这个里面有字体,加个版本号不进行更新 -->
<link rel="stylesheet" type="text/css" href="/IMS/css/comm.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/select2/select2.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/zTreeStyle/zTreeStyle.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/core.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/file/uploadify/uploadify.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/treeview/jquery.treeview.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/multi-select.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/bsgrid/bsgrid.all.min.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/bsgrid/bsgrid.all.min.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/jeasy-ui/easyui.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/poshytip/tip-darkgray/tip-darkgray.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/addinfo.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/prettyPhoto.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/jquery-ui-1.10.4.custom.min.css?v=20180830100857761" />
<link rel="stylesheet" type="text/css" href="/IMS/css/jquery.editable-select.min.css?v=20180830100857761" />
<script type="text/javascript" src="/IMS/js/jquery-1.11.2.min.js?v=20180830100857817"></script>
<!-- 新增加 -->
<script type="text/javascript" src="/IMS/js/plugins/comm/jquery-ajax.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/securityProtect.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/jquery-ajax-response-handler.js?v=20180830100857817"></script>
<!-- 新增加 END -->
<script type="text/javascript" src="/IMS/js/common/public-obj.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/bind.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/controls.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/slide.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/switch.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/initial.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/print/printhtml.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/listBox.js?v=20180830100857817"></script>

<script type="text/javascript" src="/IMS/js/plugins/My97DatePicker/WdatePicker.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/file/uploadify/jquery.uploadify.min.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/layer/layer.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/select2/select2.full.min.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/select2/i18n/zh-CN.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/treeview/jquery.treeview.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/form/jquery.form.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/ztree/jquery.ztree.core-3.5.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/ztree/jquery.ztree.excheck-3.5.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/constant.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/common.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/bmsAjax.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/validata.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/validate/jquery.validate.revise.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/validate/localization/messages_zh.min.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/validate/regValidate.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/popup_layer.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery_magnifier.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.multi-select.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.quicksearch.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/jquery.easyui.min.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.prettyPhoto.js?v=20180830100857817"></script>

<script type="text/javascript" src="/IMS/js/plugins/bsgrid/grid.zh-CN.min.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/bsgrid/bsgrid.all.min.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/bsgrid/grid.extend.min.js?v=20180830100857817"></script>
<script type="text/javascript" charset="UTF-8" src="/IMS/js/plugins/poshytip/jquery.poshytip.js?v=20180830100857817"></script>

<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery-ui-1.10.4.custom.min.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/joinUs/AddListBox.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.editable-select.min.js?v=20180830100857817"></script>

<!-- echarts -->
<script type="text/javascript" src="/IMS/js/plugins/echarts/dist/echarts.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/bar.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/line.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/pie.js?v=20180830100857817"></script>
<script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/funnel.js?v=20180830100857817"></script>

<!-- bootstrap -->

<link rel="stylesheet" type="text/css" href="/CMS/css/bootstrap.min.css"/>










<script>
	document.isDebug = false; //指console.log不打印日志。如果需要打印请改为true
	document.domain = location.hostname;
	//获取验证码
	var _SECURITY_PROTECT_VERIFY_URL = '/IMS/securityProtect/verify.ht';
	//校验验证码
	var _SECURITY_PROTECT_CHECK_VERIFY_URL = '/IMS/securityProtect/checkverify.ht';
	//检验URL是否需要验证
	var _SECURITY_PROTECT_CHECK_URL = '/IMS/securityProtect/check.ht';;
	
	var isIE = (function () {
		var ua = window.navigator.userAgent.toLowerCase();
		if (ua.indexOf("msie") > 0 || ua.indexOf("trident") > 0 ) {
	    	return true;
		}else {
	    	return false;
		}
	}());
	
	 /*<![CDATA[*/
	function findDBInfo(){
	 	var url = '/IMS/pasMessage/list.ht';
		addTabs(url,'待办任务');
	}
 

		$(function(){
			
			function menuControl(){
				var _options=this.options={
					openCls:"active_subopen",//展开子列表后菜单盒子的class名
					disableCls:"active_subdisable",//展开子列表后菜单盒子的class名
                    menuWarpCls:"content",
                    menuSmall:"menu-small"
				};
				this.menuBox=$(".grid-s5m0");
                this.menuWarp=$("#"+_options.menuWarpCls);
                this.menuSmallBtn=this.menuBox.find(".menu-small-btn");
				this.menuBoxList=$(".menu-box-list .dd-item");
				this.menuIndex=$(".menu-box-list .dd-index");
				this.submenuOpenBtn=this.menuBox.find(".submenu-open");
				this.subMenuBox=this.menuBox.find(".dd-inner");
				this._userState=false;
                this._hide();
                this._menuBig();
                this._disable();
				this._bind();
			}
			menuControl.prototype={
				_resize:function(){
                    var _this=this,
                        win=$(window),
                        count=5;
//					$(window).resize();
                    _this._timeout && clearTimeout(_this._timeout);
					function wresize(){
                        win.resize();
                        count--;
                        if(count>0){
                            _this._timeout && clearTimeout(_this._timeout);
                            _this._timeout=setTimeout(function(){
                                wresize();
                            },100);
                        }
                    }
                    wresize();
				},
				/**
				*隐藏菜单
				*/
				_hide:function(){
					var _this=this,
					_tempOption=this.options;
					
					_this._state=false;
					// _this.menuBox.css({"width":"0px"});
                    
                    _this.menuBox.removeClass(_tempOption.disableCls);
					_this.menuBox.removeClass(_tempOption.openCls);
					_this._resize();
				},
                
                _disable:function(){
					var _this=this
					_tempOption=this.options;
                    
					_this.menuBox.addClass(_tempOption.disableCls);
                    _this.menuBox.removeClass(_tempOption.openCls);
                    _this._resize();
                },
				/**
				*打开菜单
				*/
				_open:function(){
					var _this=this,
					_tempOption=this.options;

					_this._state=true;
					//_this.menuBox.css({"width":"180px"});
                    _this.menuBox.removeClass(_tempOption.disableCls);
					_this.menuBox.addClass(_tempOption.openCls);
					_this._resize();
				},
                
                /**
                 * 最小化菜单
                 * @private
                 */
                _menuSmall:function(){
                    var _this=this,
					_tempOption=this.options;
                    
                    _this._menuState=false;
                    
                    _this.menuWarp.addClass(_tempOption.menuSmall);
                    _this._resize();
                },
                
                /**
                 * 最大化菜单
                 * @private
                 */
                _menuBig:function(){
                    var _this=this,
					_tempOption=this.options;
                    
                    _this._menuState=true;
                    
                    _this.menuWarp.removeClass(_tempOption.menuSmall);
                    _this._resize();
                },
				_bind:function(){
					var _this=this;
                    
                    
                    _this.menuSmallBtn.bind("click",function(){
						if(_this._menuState){
                            _this._userState=false;
							_this._menuSmall();
						}else{
                            _this._userState=true;
							_this._menuBig();
						}
					});
                    
					_this.submenuOpenBtn.bind("click",function(){
						if(_this._state){
							_this._hide();
						}else{
							_this._open();
						}
					});
                    _this.menuIndex.bind("click",function(){
                        _this._disable();
                    });
					_this.menuBoxList.bind("click",function(){
                        if(!_this._userState){
                            _this._menuSmall();
                        }
						_this._open();
					});
				}
			};

			new menuControl();

			function SetScroll() {
			    this._bind();
			}

			SetScroll.prototype = {
			    /**
			     * 添加事件方法
			     * @param {function} fn 事件调用的方法
			     * @param {Node} node 事件需要操作的节点                
			     */
			    addEvent: function (fn, node) {
			        if (fn && $.isFunction(fn)) {
			            this.eventList = this.eventList || [];
			            this.eventList.push({ fn: fn, node: node });
			        }
			    },

			    /**
			     * 事件触发时执行的事件
			     */
			    triggerEvt: function () {
			        var _this = this,
			            bodyscrollTop = _this._getScrollNode();

			        _this.eventList && $.each(_this.eventList, function () {
			            this.fn(bodyscrollTop.scrollTop, this.node);
			        });
			    },
			    /**
			     * 获取支持scrollTop的元素
			     * @protected
			     * @returns {Node} 返回支持Dom节点scrollTop的元素
			     */
			    _getScrollNode: function () {
			        return document.documentElement && document.documentElement.scrollTop ? document.documentElement : document.body;
			    },
			    /**
			     * 绑定事件
			     * @protected
			     */
			    _bind: function () {
			        var _this = this;
			        $(window).bind("scroll", function () {
			            _this.triggerEvt();
			        });
			    }
			};

			var scroll=new SetScroll(),//滚动条对象
				menuBox=$(".menu-box"),
				ddinner=$(".dd-inner");//子菜单列表盒子


				scroll.addEvent(function(scrollTop,scrolla){
					var top=50-scrollTop;
					if(top<=0){
						top=0;
					}
					scrolla.css({top:top});
					ddinner.css({top:top});
				},$(".menu-box"));

			$("img").error(function(){//图片加载错误
				$(this).attr("src", '/IMS/img/u146.png?');//设置默认图片
			});
			var imgUrl = '';
			
			$("#menu_tree").bind('click',function(event){
				if(event.target.className.indexOf("hitarea")>-1){
					if(YW.newobj){
						if(YW.newobj.leftheigth){
							YW.newobj.leftheigth.setSize();
						}
					}
				}
			})
			$(".item-hd,.dd-nav").bind('click',function(){
				if(YW.newobj){
					if(YW.newobj.leftheigth){
						YW.newobj.leftheigth.setSize();
					}
				}
			});
		});
		  function clearList(){
			  $(".icip_pull_item").each(function(){
					  $(this).removeClass("icip_button_c2");
			  });
		  }
	     $(function(){
	           $(".icip_pull_item").click(function(){
	        	   clearList();
	     		 var pageSize=$(this).attr("name");
	     		  $(this).addClass("icip_button_c2");
	     		  $("#pageSize").val(pageSize);
	     		 go($("#pagenumber").html());
	           });
	           //展开更多
	           (function(){
	               $(".icip_btn_more").delegate(".icip_more_show","mouseover",function(){
	                   $(this).parents('.icip_btn_more').addClass("icip_active");
	               });
	               $(".icip_btn_more").on("mouseout",function(evt){
	                   if(!$(this).find(evt.relatedTarget)[0]){
	                       $(this).removeClass("icip_active");
	                   }
	               });
	             
	           })();
	       });
/*]]>*/
</script>
</head>
<style>
.col10 .btn {
	color: #1C80E5;
}

.col10 .btn:hover {
	color: #1666b7;
}

.add a:hover {
	color: #dbdbdb
}

.ord a:hover {
	color: #1C80E5
}

.fileinput-button {
	position: relative;
	display: inline-block;
	overflow: hidden;
	color: #00F
}

.fileinput-button input {
	position: absolute;
	right: 0px;
	top: 0px;
	opacity: 0;
	-ms-filter: 'alpha(opacity=0)';
	font-size: 200px;
}
</style>
<script type="text/javascript" src="/IMS/js/employee/list.js?v=1.0.0"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/layerUtils.js?v=20180830100857817"></script>
<body class="bgcolor-body">
	<div>
	<div class="icip_skin_box">
		<div>
    <script type="text/javascript" src="/IMS/js/breadCrumbNavigation/navigation.js?v=20180830100857817"></script>  
	<div class="cur-position"></div>
</div>
		<div class="icip_content_box">
			<div>
	<div class="icip_title_box" style="margin-bottom: 10px;">
		<div class="left">
			<span class="icip_title_text">员工信息列表</span>
			<span class="icip_button">
				<a href="/IMS/estate/showList.ht">返回上级</a>
			</span>
            <span class="refresh" style="margin-right: 60px;">
   <a class="btn btn-default" href="/IMS/employee/showList.ht">刷新</a>
</span>
		</div>
		<div class="right">
			<!--<span class="icip_button">
				<a onclick="openExcelPage();" title="点击导出信息" class="ks-pop-nav"> 员工导出 </a>
			</span>-->
			<span class="icip_button">
				<a onclick="openExcelImportPage();" title="点击下载导入模板" class="ks-pop-nav"> 导入模板下载 </a>
			</span>
			<span class="icip_button">
				<a onclick="openImportExcelPage();" title="点击导入员工信息" class="ks-pop-nav"> 批量导入 </a>
			</span>
			<span class="icip_button icip_button_c2">
				<a style="color: white;" title="点击新增员工信息" class="ks-pop-nav" href="/IMS/employee/openSavePage.ht?pcid=PCID2016042300136147"> 新增员工 </a>
			</span>
		</div>
	</div>
</div>
			<form id="frm" name="frm" method="post" action="/IMS/employee/showList.ht?send=search">
				<div>
<div class="icip_search_wrap" style="margin-bottom: 10px;">
	<div class="icip_search">
		<input class="icip_inupt" type="text" name="search" id="search" placeholder="员工名称/手机号" value="${search.decode('gbk').encode('utf-8') if search else ''}" /> 
		<input class="icip_button button-white" type="button" value="搜索" onclick="searchSubmit()" />
	</div>
</div>
</div>
				<input type="hidden" name="pcid" value="${pcid}" />
				<div>
	<div class="list-table">
		<div class="list-table-cont">
			<div class="table2">
				<table class="icip_table">
					<tr class="icip_th">
						<td style="width: 160px;">员工编号</td>
						<td style="width: 50px;">姓名</td>
						<td style="width: 100px;">手机号</td>
						<td style="width: 140px;">所属公司</td>
                        <td style="width: 140px;">部门</td>
						<td>职位</td>
						<td>入职日期</td>
						<td style="width: 100px;">操作</td>
					</tr>
					%for row in rs:
					<tr onmouseover="javascript:this.style.background=&#39;#e3f1ff&#39;" onmouseout="javascript:this.style.background=&#39;#fff&#39;">
						<td style="width: 14%;"><span>${row.eid.encode('utf-8') if row.eid else ''}</span></td>
						<td style="width: 9%;"><span>${row.eName.encode('utf-8') if row.eName else ''}</span></td>
						<td style="width: 9%;"><span>${row.mobile.encode('utf-8') if row.mobile else ''}</span></td>
						<td style="width: 9%;"><span>${row.companyName.encode('utf-8') if row.companyName else ''}</span></td>
						<td style="width: 9%;"><span>${row.depName.encode('utf-8') if row.depName else '—— ——'}</span></td>
						<td style="width: 9%;"><span>${row.posName.encode('utf-8') if row.posName else '—— ——'}</span></td>
						<td style="width: 9%;"><span>${row.eHireDate.encode('utf-8') if row.eHireDate else '—— ——'}</span></td>
						<td class="cz" style="width: 10%;"><span>
								<a href="javascript:void(0);" onclick="updateUser(&#39;${row.eid.encode('utf-8') if row.eid else ''}&#39;,&#39;${row.companyId.encode('utf-8') if row.companyId else ''}&#39;, this)">编辑</a>
							</span> <span>
								
							</span> <span>
								<a href="javascript:void(0);" onclick="leaveEmp(&#39;${row.eid.encode('utf-8') if row.eid else ''}&#39;);">离职</a>
							</span></td>
					</tr>
                    %endfor
				</table>
			</div>
		</div>
	</div>
</div>
				<div>
<div class="icip_footer_page">
	<div>
		<div class="right">
			<span class="icip_btn_more">
				<input id="pageSize" name="pageSize" type="hidden" value="${pageSize}" />
				<span class="icip_more_icon icip_more_show">
					每页
					<span id="pageSizeChange">${pageSize}</span>
					条
				</span>
				<div class="icip_pull_wrap">
					<div class="icip_pull_box">
						<ul class="icip_pull_list">
							<li name="10" class="icip_pull_item">10</li>
							<li name="15" class="icip_pull_item">15</li>
							<li name="20" class="icip_pull_item">20</li>
							<li name="30" class="icip_pull_item">30</li>
							<li name="50" class="icip_pull_item icip_button_c2">50</li>
							<li name="100" class="icip_pull_item">100</li>
							<li name="150" class="icip_pull_item">150</li>
							<li class="icip_pull_item" name="0"></li>
							<li class="icip_pull_item" name="0"></li>
						</ul>
					</div>
				</div>
			</span>
			<span>
				<span name="pageNum" id="pagenumber">${pageNum}</span>
				<span>页</span>
				<input type="hidden" name="pageNum" id="pagenumberHidden" value="${pageNum}" />
				/
				<span id="_pages">${page_count}</span>
				<span>页</span>
			</span>
			<span class="icip_aspect_wrap">
				<span class="icip_button_navigation icip_iconfont icip_aspect">
					<a href="javascript:void(0);" title="点击查看上一页" onclick="${'go(%d)'%(int(pageNum)-1) if int(pageNum)-1>0 else 'return false;'}">&#xe624;</a>
				</span>
				<span class="icip_button_navigation icip_iconfont icip_aspect">
					<a href="javascript:void(0);" title="点击查看下一页" onclick="${'go(%d)'%(int(pageNum)+1) if int(pageNum)+1<=int(page_count) else 'return false;'}">&#xe625;</a>
				</span>
			</span>
			<span class="item-count">
				<span>共：</span>
				<span id="_pageTotal">${record_count}</span>
				条
			</span>
		</div>
	</div>
</div>			</form>
		</div>
	</div>
</div>
	<div>
		<div id="_proccesBar" class="JsW keypayment" data-position-type="fixed" data-position-config="{}" data-widget-type="popup" data-widget-config="{&#39;contentId&#39;:true,&#39;contentCls&#39;:&#39;ks-load&#39;}" style="display: none;">
			<div class="JsW load-box" id="ks-load" data-size-type="widescreen">
				<div class="JsW bg alpha30"></div>
				<div class="JsW load-pop-box" data-align-type="align" data-align-config="{&#39;lframe&#39;:&#39;ks-load&#39;}">
					<!-- <i class="ks-pop-close">X</i> -->
					<img class="rotate" src="/IMS/img/loading.png" />
				</div>
			</div>
			<div class="ks-pop-nav"></div>
		</div>

		<div id="_proccesBar_no_close" class="JsW keypayment" data-position-type="fixed" data-position-config="{}" data-widget-type="popup" data-widget-config="{&#39;contentId&#39;:true,&#39;contentCls&#39;:&#39;ks-load&#39;,&#39;keyCode&#39;:[]}" style="display: none;">
			<div class="JsW load-box" id="ks-load" data-size-type="widescreen">
				<div class="JsW bg alpha30"></div>
				<div class="JsW load-pop-box" data-align-type="align" data-align-config="{&#39;lframe&#39;:&#39;ks-load&#39;}">
					<!-- <i class="ks-pop-close">X</i> -->
					<img class="rotate" src="/IMS/img/loading.png" />
				</div>
			</div>
			<div class="ks-pop-nav"></div>
		</div>
		<div class="modal-box" id="ks-pop-box-pwd" align="center">
			<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
			<div class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
				<form method="post" id="__changePwd" action="/IMS/changePwd.ht">
					<div class="pop-box-hd">
						修改登录密码 <i class="ks-pop-close2" onclick="closeDialog(&#39;ks-pop-box-pwd&#39;)">X</i>
					</div>
					<div class="pop-box-bd">
						<table>
							<tr>
								<td align="right">
									<div>
										<span class="require">*</span>
										<span>原密码：</span>
									</div>
								</td>
								<td>
									<div>
										<span>
											<input type="password" class="input" id="oldPassword" name="oldPassword" placeholder="请输入旧密码" />
										</span>
									</div>
								</td>
							</tr>
							<tr>
								<td align="right">
									<div>
										<span class="require">*</span>
										<span>新密码：</span>
									</div>
								</td>
								<td>
									<div>
										<span>
											<input type="password" class="input" id="newPassword" maxlength="20" name="newPassword" placeholder="请输入新密码" />
										</span>
									</div>
								</td>
							</tr>
							<tr>
								<td align="right">
									<div>
										<span class="require">*</span>
										<span>确认密码：</span>
									</div>
								</td>
								<td>
									<div>
										<span>
											<input type="password" class="input" maxlength="20" id="checkPassword" name="checkPassword" placeholder="再次输入新密码" />
										</span>
									</div>
								</td>
							</tr>
						</table>
					</div>
					<div class="pop-box-ft">
						<div class="redbutton control-button JsW">
							<span>
								<input type="button" value="确定" onclick="changePwd(&#39;ks-pop-box-pwd&#39;,&#39;__changePwd&#39;)" class="button" />
							</span>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	<div>
	<div class="modal-box" id="ks-pop-box-reg" align="center">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
			<form method="post" id="regForm" action="/IMS/employee/getReg.ht">
				<input type="hidden" name="web_token" value="" />
				<input type="hidden" id="eid" name="eid" />
				<div class="pop-box-hd">
					<div class="title"></div>
					<i class="ks-pop-close2" onclick="closeEditDialog(&#39;ks-pop-box-reg&#39;)" style="background: transparent;">X</i>
				</div>
				<div class="pop-box-bd">
					<table>
						<tr>
							<td>员工姓名：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" id="eName" name="eName" />
									</span>
								</div>
							</td>
						</tr>
						<tr>
							<td>所属公司：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" id="companyName" name="companyName" />
									</span>
								</div>
							</td>
						</tr>
						<tr id="tdCid">
							<td>所属小区：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" id="communityName" name="communityName" />
									</span>
								</div>
							</td>
						</tr>
						<tr>
							<td>入职日期：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" id="eHireDate" name="eHireDate" />
									</span>
								</div>
							</td>
						</tr>
						<tr>
							<td>转正类型：</td>
							<td><span class="JsW control-radio" data-control-type="radio">
									<input type="radio" name="regType" value="earlier" checked="checked" />
								</span>提前转正 <span class="JsW control-radio" data-control-type="radio">
									<input type="radio" value="later" name="regType" />
								</span>延长转正</td>
						</tr>
						<tr id="earlier">
							<td>提前转正日期：</td>
							<td>
								<div>
									<input type="text" name="eEarlierRegDate" id="eEarlierRegDate" style="width: 242px" class="Wdate" size="12" onclick="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;,minDate:&#39;%y-%M-{%d}&#39;,readOnly:true})" placeholder="请输入转正日期" />
								</div>
							</td>
						</tr>
						<tr id="later" style="display: none;">
							<td>延长转正日期：</td>
							<td>
								<div>
									<input type="text" name="eLaterRegDate" id="eLaterRegDate" style="width: 242px" class="Wdate" size="12" onclick="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;,minDate:&#39;%y-%M-{%d}&#39;,readOnly:true})" placeholder="请输入转正日期" />
								</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="pop-box-ft">
					<div class="redbutton control-button JsW">
						<span>
							<input type="button" value="提 交" onclick="saveEmpReg()" class="button" />
						</span>
					</div>
				</div>
			</form>
		</div>
	</div>

	<div class="modal-box" id="ks-pop-box-leave" align="center">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
			<form method="post" id="leaveForm" action="/IMS/employee/getLeave.ht">
				<input type="hidden" name="web_token" value="" />
				<input type="hidden" name="eid" />
				<div class="pop-box-hd">
					<div class="title"></div>
					<i class="ks-pop-close2" onclick="closeEditDialog(&#39;ks-pop-box-leave&#39;)" style="background: transparent;">X</i>
				</div>
				<div class="pop-box-bd">
					<table>
						<tr>
							<td>员工姓名：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" name="eName" />
									</span>
								</div>
							</td>
						</tr>
						<tr>
							<td>所属公司：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" name="companyName" />
									</span>
								</div>
							</td>
						</tr>
						<tr id="leaveCid">
							<td>所属小区：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" name="communityName" />
									</span>
								</div>
							</td>
						</tr>
						<tr>
							<td>入职日期：</td>
							<td>
								<div>
									<span>
										<input type="text" style="border: none;" readonly="readonly" class="input" name="eHireDate" />
									</span>
								</div>
							</td>
						</tr>
						<div id="record"></div>
					</table>
				</div>
				<div class="pop-box-ft">
					<div class="redbutton control-button JsW">
						<span>
							<input type="button" value="提 交" onclick="saveLeave()" class="button" />
						</span>
					</div>
				</div>
			</form>
		</div>
	</div>

	<!-- 员工导出 -->
	<div class="modal-box" id="ks-pop-box2">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div id="mainPopupLayer" class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
			<div class="pop-box-hd">
				导出选项卡 <i class="ks-pop-close2" onclick="closeEditDialog(&#39;ks-pop-box2&#39;)" style="background: transparent;">X</i>
			</div>
			<div id="hideIds"></div>
			<div class="pop-box-bd">
				<ul class="ul-check-list" style="padding-left:120px;">
					<li style="width: 90%;" id="companyStyle">
						<span style="width: 120px;">公&nbsp;&nbsp;司：</span>
						<input type="hidden" name="cName" id="cName" />
						<span id="showCompanyName"></span>
						<select id="companySelect" name="companySelect" style="width: 242px;" onchange="comapnyChange()">
						</select>
					</li>
					<li style="width: 90%;" id="deptModal">
						<span style="width: 120px;">部&nbsp;&nbsp;门：</span>
						<input type="hidden" id="depName" name="depName" />
						<select id="deptSelect" name="depCode" style="width: 242px;" onchange="deptChange()">
						</select>
					</li>
					<li style="width: 90%;" id="subPcid">
						<input type="checkbox" name="subComapny" id="isSubCompany" />
						包含下属公司
					</li>
				</ul>
			</div>
			<div class="pop-box-ft">
				<div class="redbutton control-button JsW">
					<span>
						<input type="button" value="导出" id="saveItems" onclick="exp()" class="button" />
					</span>
				</div>
			</div>
		</div>
	</div>
	<!-- 导出 END -->

	<!-- 导入模板下载 -->
	<div class="modal-box" id="ks-pop-box1">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div id="mainPopupLayer" class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
			<div class="pop-box-hd">
				导入模板下载选项卡 <i class="ks-pop-close2" onclick="closeEditDialog(&#39;ks-pop-box1&#39;)" style="background: transparent;">X</i>
			</div>
			<div id="hideIds"></div>
			<div class="pop-box-bd">
				<ul class="ul-check-list">
					<li style="width: 90%; text-align: center;">
						<span style="width: 120px;">公司名称：</span>
						<input type="hidden" name="ecName" id="ecName" />
						<span id="showECompanyName"></span>
						<select id="EcompanySelect" name="EcompanySelect" style="width: 242px;">
						</select>
					</li>
					
				</ul>
			</div>
			<div class="pop-box-ft">
				<div class="redbutton control-button JsW">
					<span>
						<input type="button" value="导出" onclick="expE()" class="button" />
					</span>
				</div>
			</div>
		</div>
	</div>
	<!-- 导入模板下载 END -->

	<!-- 批量导入 -->
	<div class="modal-box" id="ks-pop-box3">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div id="mainPopupLayer" class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
			<div class="pop-box-hd">
				员工信息批量导入<i class="ks-pop-close2" onclick="closeEditDialog(&#39;ks-pop-box3&#39;)" style="background: transparent;">X</i>
			</div>

			<form name="excelfrm" method="post" id="excelfrm" action="/IMS/employeeImport/doImport.ht">
				<input type="hidden" name="web_token" value="" />
				<input type="hidden" name="epcid" value="PCID2016042300136147" />
				<div id="hideIds" class="pop-box-bd" style="max-height: 350px; overflow-y: auto;">
					<table class="table" style="width: 90%; margin: 0 auto;">
						<tr>
							<td align="center">注意:导入数据时请仔细填写表格中的每一项数据，并严格按照指定的格式录入</td>
						</tr>
						<tr>
							<td align="center"><span class="fileinput-button">
									<span id="showFileNameId">点击这里选择文件</span>
									<input type="file" id="excelfile" name="excelfile" onchange="showFileName()" />
								</span></td>
						</tr>
					</table>
				</div>
				<div class="pop-box-ft">
					<div class="redbutton control-button JsW">
						<input type="button" value="立即导入" onclick="importExcel()" class="button-save" />
					</div>
				</div>
			</form>
		</div>
	</div>
	<!-- 批量导入 END -->

	<!-- 批量导入结果 -->
	<div class="modal-box" id="importHistoricalPrepaidResultDiv">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div id="mainPopupLayer" class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[5,0]}">
			<div class="pop-box-hd" style="margin-bottom: 10px;">
				员工信息批量导入结果<i class="ks-pop-close2" onclick="closeImportDialog(&#39;importHistoricalPrepaidResultDiv&#39;)" style="background: transparent;">X</i>
			</div>
			<div style="height: 60px; text-align: left; font-size: 16px; border-bottom: 1px solid #ccc; margin-bottom: 5px;">
				<span style="margin-left: 20px;">
					&nbsp;本次共导入&nbsp;&nbsp;<font style="color: blue;"><b id="allImportCount">0</b></font>&nbsp;&nbsp;条数据， 成功&nbsp;&nbsp;<font style="color: green;"><b id="successImportCount">0</b></font>&nbsp;&nbsp;条， 失败&nbsp;&nbsp;<font style="color: red;"><b id="failedImportCount">0</b></font>&nbsp;&nbsp;条
				</span>
			</div>
			<div style="max-height: 290px; width: 600px; overflow-y: auto; padding-bottom: 10px">
				<table id="importHistoricalPrepaidResultTab" style="border: #eee solid 1px; width: 536px; margin: 0 auto; border-collapse: collapse">
					<tbody>
						<tr>
							<th>行号</th>
							<th>错误信息</th>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="pop-box-ft" style="border-top: 1px solid #ccc; margin-top: 1px;">
				<div class="redbutton control-button JsW">
					<span>
						<input style="margin: 5px auto 10px; height: 30px; width: 120px; font-size: 16px;" type="button" value="确认" onclick="closeImportDialog(&#39;importHistoricalPrepaidResultDiv&#39;)" class="button" />
					</span>
				</div>
			</div>
		</div>
	</div>

	<div class="modal-box" id="importHistoricalPrepaidResultDiv2">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
			<div class="pop-box-hd" style="margin-bottom: 10px;">
				员工信息批量导入结果<i class="ks-pop-close2" onclick="closeImportDialog(&#39;importHistoricalPrepaidResultDiv2&#39;)" style="background: transparent;">X</i>
			</div>
			<div style="height: 60px; text-align: left; font-size: 16px; border-bottom: 1px solid #ccc; margin-bottom: 5px;">
				<span style="margin-left: 20px;">
					&nbsp;本次共导入&nbsp;&nbsp;<font style="color: blue;"><b id="allImportCount2">0</b></font>&nbsp;&nbsp;条数据， 成功&nbsp;&nbsp;<font style="color: green;"><b id="successImportCount2">0</b></font>&nbsp;&nbsp;条， 失败&nbsp;&nbsp;<font style="color: red;"><b>0</b></font>&nbsp;&nbsp;条
				</span>
			</div>
			<div class="pop-box-ft">
				<div class="redbutton control-button JsW">
					<span>
						<input style="margin: 5px auto 10px; height: 30px; width: 120px; font-size: 16px;" type="button" value="确认" onclick="closeImportDialog(&#39;importHistoricalPrepaidResultDiv2&#39;)" class="button" />
					</span>
				</div>
			</div>
		</div>
	</div>
	<!-- 批量导入结果 END -->

</div>
</body>
<script>
var pcid = 'PCID2016042300136147';
</script>
</html>